package service.creditmanage;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

import exception.Exceptions;

public interface CreditManageService {
	void changeState(Integer id,String type,String secondtype);//更改状态
	Map<String, Object> getContract(int id,String type) throws Exceptions;

	String setInChange(int id,BigDecimal money, Timestamp thisdate,String backmethod);
	String setOutChange(int id, BigDecimal money,Timestamp thisdate,Timestamp thatdate);
	String setInterestChange(int id, BigDecimal money, Timestamp thisdate,BigDecimal moneyfuli);
	//
	List getInDoneRecord(String type);
	List getInterestDoneRecord();
	List<?> getOutDoneList();
	
	//
	List getOutList();
	List<?> getInList();//打印收贷凭证,待处理
	List<?> getCreditInterestList();//打印利息通知单
	
	public int getOutUndo();//待处理的放款条数
	public int getInUndo();//待处理回款条数
	public int getInterestUndo();//待处理的利息通知单条数
///////////////////////////////////
	List getCustomBankList(int id,String type) throws Exceptions;
	void changePrintDate(Integer id, String type);// 打印确认，完成打印日期
	Object getInUndone();
	Object getOutUndone();
	Object getInterestUndone();
	
}
